package com.tj.collection.db.dao;

import com.fqgj.common.api.Page;
import com.fqgj.common.base.BaseMapper;
import com.tj.collection.db.entity.ClCallDurationEntity;
import com.tj.collection.db.entity.business.ClCallInfoEntity;

import java.util.List;
import java.util.Map;

/**
 * User: Karl
 * Date: 2020-01-16
 * Time: 10:43:46.793
 */

public interface ClCallDurationDao extends BaseMapper<ClCallDurationEntity> {

    List<ClCallDurationEntity> selectCallDurationByParams(Map<String, Object> params);

    Integer countCallDurationByParams(Map<String, Object> params);

    List<ClCallDurationEntity> selectCallDurationByCollectionNo(String collectionNo, String mobile, String startTime, String endTime);

    List<ClCallDurationEntity> selectWaitConvertCallDurationList(Page page);

    List<ClCallInfoEntity> selectCallDurationInfoList(Map<String, Object> params, Page page);
}